function getRootPath() {
	var curWwwPath = window.document.location.href;
	var pathName = window.document.location.pathname;
	return curWwwPath.substring(0, curWwwPath.indexOf(pathName))
			+ pathName.substring(0, pathName.substr(1).indexOf('/') + 1);
}
var rootPath = getRootPath();// 工程跟路径
document.write('<link href="'+rootPath+'/plugin/bootstrap-3.3.5/css/font-awesome.min.css" rel="stylesheet" type="text/css" />');
document.write('<link href="'+rootPath+'/plugin/forBootstrap/css/bootstrap-multiselect.css" rel="stylesheet" type="text/css" />');

document.write('<script src="'+rootPath+'/plugin/forBootstrap/js/bootstrap-multiselect.js" type="text/javascript" ></script>');